<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Nav</title>
    <style>
        .nav{
            width: 1080px;
            margin: 0 auto;
            height:40px ;
            background-color: #4e667d;
        }
        .nav ul{

            background-color: rgba(34,128,255,0.65);
            list-style: none;
            width: 500px;
            margin: 0 auto;
        }

        .nav li{
            float: left;
        }

        .nav li a{
            display: block;
            width: 100px;
            height: 40px;
            line-height: 40px;
            text-align: center;
            text-decoration: none;
            background-color: rgba(255,84,81,0.65);
            border-left: 1px solid #4e667d;
            border-right: 1px solid #4e667d;
            color: white;


        }

        li a:hover{
            background-color: rgba(255,51,179,0.65);
        }
    </style>
</head>
<body>
<div class="nav">
    <ul>
        <li><a href="">徐睿</a></li>
        <li><a href="">周慧敏</a></li>
        <li><a href="">赵雨静</a></li>
        <li><a href="">柳如是</a></li>
        <li><a href="">刘亦菲</a></li>
    </ul>
</div>
</body>
</html>